﻿<MudPopoverProvider />

<MudMenu Label="Full Menu Width" Variant="Variant.Filled" Color="Color.Primary" FullWidth="true" ActivationEvent="@MouseEvent.MouseOver">
    <MudMenuItem Class="test-class">1</MudMenuItem>
    <MudMenuItem Href="https://www.test.com">2</MudMenuItem>
    <MudMenu Variant="Variant.Filled" AnchorOrigin="Origin.TopRight" Color="Color.Primary" FullWidth="true" ActivationEvent="@MouseEvent.MouseOver">
        <ActivatorContent>
            <MudMenuItem>Open Sub Menu</MudMenuItem>
        </ActivatorContent>
        <ChildContent>
            <MudMenuItem>Sub Menu Item 1</MudMenuItem>
            <MudMenuItem>Sub Menu Item 2</MudMenuItem>
            <MudMenu AnchorOrigin="Origin.TopRight" Variant="Variant.Filled" Color="Color.Primary" FullWidth="true" ActivationEvent="@MouseEvent.MouseOver">
                <ActivatorContent>
                    <MudMenuItem>Open Level2 Sub Menu</MudMenuItem>
                </ActivatorContent>
                <ChildContent>
                    <MudMenuItem>Level2 Sub Menu Item 1</MudMenuItem>
                    <MudMenuItem>Level2 Sub Menu Item 2</MudMenuItem>
                </ChildContent>
            </MudMenu>
        </ChildContent>
    </MudMenu>
</MudMenu>